package model;

import java.awt.Color;

import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;

public class RulesTest1 {

	IModel model;
	Player[] players;
	
	
	@Before
	public void setUp() throws Exception {
	
		Player p1 = new Player("Nils", Color.black, 0); 
		Player p2 = new Player("Mils", Color.blue, 1); 
		Player p3 = new Player("Wils", Color.red, 2);
		Player p4 = new Player("Kils", Color.green, 3);
	
		Player[] playersSet = {p1, p2, p3, p4};
		players = playersSet;
		model = new Model();	
	}
	
	@Test
	public void testDieRoll() {
		/*
		EventBus.publish(Events.NEWGAME.toString(), players);
		EventBus.publish(Events.DICETHROW.toString(), 4);
		
		System.out.println(model.getState().getCurrentDieValue());
		*/
		assertTrue(true);//model.getState().getCurrentDieValue() == 4);
		
		
	}

}
